NDepend.API Documentation
ToDebt(Nullable<TimeSpan>) Method
NDepend.TechnicalDebt Namespace > ExtensionMethodsDebtUsableInCQLinq Class > ToDebt Method : ToDebt(Nullable<TimeSpan>) Method
The input nullable System.TimeSpan value.
Returns a Debt value from a nullable System.TimeSpan value.
Syntax
[Extension()]
public static Debt ToDebt( 
   Nullable<TimeSpan> nullableTimeSpan
)

Parameters

nullableTimeSpan
The input nullable System.TimeSpan value.
Remarks
if nullableTimeSpan is null, Debt.Zero is returned.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsDebtUsableInCQLinq Class
ExtensionMethodsDebtUsableInCQLinq Members
Overload List